home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / barcodes.zip / SAMPLE1.ZIP / CTL3D.H < prev    next >
C/C++ Source or Header  |  1994-11-07  |  1KB  |  52 lines

  1. /*-----------------------------------------------------------------------
  2. |    CTL3D.DLL
  3. |    
  4. |    Adds 3d effects to Windows controls
  5. |
  6. |    See ctl3d.doc for info
  7. |        
  8. -----------------------------------------------------------------------*/
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12.  
  13.  
  14. BOOL WINAPI Ctl3dSubclassDlg(HWND, WORD);
  15. WORD WINAPI Ctl3dGetVer(void);
  16. BOOL WINAPI Ctl3dEnabled(void);
  17. HBRUSH WINAPI Ctl3dCtlColor(HDC, LONG);    // ARCHAIC, use Ctl3dCtlColorEx
  18. HBRUSH WINAPI Ctl3dCtlColorEx(UINT wm, WPARAM wParam, LPARAM lParam);
  19. BOOL WINAPI Ctl3dColorChange(void);
  20. BOOL WINAPI Ctl3dSubclassCtl(HWND);
  21. LONG WINAPI Ctl3dDlgFramePaint(HWND, UINT, WPARAM, LPARAM);
  22.  
  23. BOOL WINAPI Ctl3dAutoSubclass(HANDLE);
  24.  
  25. BOOL WINAPI Ctl3dRegister(HANDLE);
  26. BOOL WINAPI Ctl3dUnregister(HANDLE);
  27.  
  28. /* Ctl3dSubclassDlg3d flags */
  29. #define CTL3D_BUTTONS        0x0001
  30. #define CTL3D_LISTBOXES        0x0002        
  31. #define CTL3D_EDITS            0x0004    
  32. #define CTL3D_COMBOS            0x0008        
  33. #define CTL3D_STATICTEXTS    0x0010        
  34. #define CTL3D_STATICFRAMES    0x0020
  35.  
  36. #define CTL3D_ALL                0xffff
  37.  
  38. #define WM_DLGBORDER (WM_USER+3567)
  39. /* WM_DLGBORDER *(int FAR *)lParam return codes */
  40. #define CTL3D_NOBORDER        0
  41. #define CTL3D_BORDER            1
  42.  
  43. #define WM_DLGSUBCLASS (WM_USER+3568)
  44. /* WM_DLGSUBCLASS *(int FAR *)lParam return codes */
  45. #define CTL3D_NOSUBCLASS    0
  46. #define CTL3D_SUBCLASS        1
  47.  
  48.  
  49. #ifdef __cplusplus
  50. }
  51. #endif
  52.